package com.legsem.voltdb.test.server;

import org.voltdb.ProcInfo;
import org.voltdb.SQLStmt;
import org.voltdb.VoltProcedure;
import org.voltdb.VoltTable;

@ProcInfo(singlePartition = false)
public class Clean extends VoltProcedure {

    public final SQLStmt sql = new SQLStmt("DELETE FROM MASTERDOCS;");

    public VoltTable[] run() throws VoltAbortException {

        voltQueueSQL(sql);
        voltExecuteSQL();
        return null;
    }
}
